package struct.proxy;

/**
 * Created by hmily on 2017/9/7.
 */
public class Proxy implements ProxyAble {

    private Client client;

    public Proxy() {
        this.client = new Client();
    }

    @Override
    public void method() {
        doThing();
        client.method();
    }

    public void doThing(){
        System.out.println("happy day");
    }
}
